﻿/**********************************************************
*
* 模块名称：WebTest测试页面
* 当前版本：1.0
* 添加人员：楚涛
* 开始时间：2010-10-10
* 版本历史：v1.0
*
***********************************************************/
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Database;
using LXChuTao.ECG.Demo.BLL;
using LXChuTao.ECG.Demo.Entity;
using LXChuTao.ECG.Demo.WebUI;

public partial class Form_WebTest : LXChuTao.ECG.Demo.WebUI.BasePage
{
    /// <summary>
    /// 页面载入
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void Page_Load(object sender, EventArgs e)
    {
        //Test();
        Test1();
    }

    public void Test()
    {
        Container1.Insert();
        Container1.Update();
        this.TextBox1.Text += DbCore.GetCurrentCommandText;

        string str = Container1.TestFactory();
        WebFunHelper.ShowMessage(this, str);
    }
    public void Test1()
    {
        int k = 0;
        while (true)
        {
            Container1.GetDataSet();
            T_DEMO entity = new T_DEMO();
            entity.C_ID = "0123456789";
            entity.C_NAME = "C_NAME";
            entity.DelInsert();
            entity.SaveEx();
            entity.GetDataTable();
            k++;//2501次,success
        }
    }
}
